package com.itheima.question.serivce;

import com.itheima.pojo.dto.PageDto;
import com.itheima.pojo.dto.QuestionDto;
import com.itheima.pojo.vo.PageVo;
import com.itheima.pojo.vo.QuestionVo;

import javax.servlet.http.HttpSession;

public interface IQuestionSerivce {
    Boolean addQuestion(QuestionDto questionDto,HttpSession session) throws Exception;
    PageVo<QuestionVo> queryByPage(PageDto pageDto);
    QuestionVo queryById(String id);
}